home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 18 / CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso / CUCD / Programming / A68k / Makefile.azt < prev    next >
Makefile  |  1991-04-16  |  1KB  |  43 lines

  1. # Simple makefile to compile and link the A68k Assembler.
  2. # Created 23Jun87 by J.A. Lydiatt
  3. # protos.h added April 16, 1991 by Charlie Gibbs.
  4.  
  5. OBJ=    A68kmain.o Opcodes.o Operands.o Adirect.o A68kmisc.o\
  6.     Symtab.o Codegen.o wb_parse.o
  7.  
  8. SHARLIB1= A68k.doc makefile A68kdef.h A68kglb.h A68kmain.c Opcodes.c Operands.c\
  9.     Adirect.c A68kmisc.c Symtab.c Codegen.c wb_parse.c isspace.c
  10.  
  11. SRC=    A68kmain.c Opcodes.c Operands.c Adirect.c A68kmisc.c\
  12.     Symtab.c Codegen.c wb_parse.c isspace.c
  13.  
  14. SHARLIB2= A68k.uue
  15.  
  16.  
  17. .c.o:
  18.     cc +x3 -Z3000 $*.c
  19.  
  20. .a.o:
  21.     A68k -d -o$*.o $*.a
  22.  
  23. A68k:    $(OBJ) 
  24.     ln -o A68k $(OBJ) -lc
  25.  
  26. $(OBJ):    A68kdef.h A68kglb.h protos.h
  27.  
  28. #
  29. # Note: Manx's makefile seems to have a bug that forbids indirection
  30. #    such as "shar >lib a.c  b.c c.c"
  31. #    however "make >lib" seems to work fine if you edit out the
  32. #    commands make echos as it proceeds through the makefile.
  33. #
  34. #    Try make >ram:shardcp Archive 
  35. #
  36.  
  37. Archive:
  38.     shar $(SHARLIB1)
  39.     shar $(SHARLIB2)
  40.  
  41. Lint:
  42.     lint -iAztec:include Aztec:Stdlib.c Aztec:Defaults.c $(SRC)
  43.